using Microsoft.ApplicationServer.Caching;

namespace Framework.DataCache
{
    public class DistributedDataCacheNotificationDescriptor
    {
        private readonly DataCacheNotificationDescriptor _dataCacheNotificationDescriptor;

        public DistributedDataCacheNotificationDescriptor(DataCacheNotificationDescriptor dataCacheNotificationDescriptor)
        {
            _dataCacheNotificationDescriptor = dataCacheNotificationDescriptor;
        }

        public string CacheName
        {
            get
            {
                return _dataCacheNotificationDescriptor.CacheName;
            }
        }

        public long DelegateId
        {
            get
            {
                return _dataCacheNotificationDescriptor.DelegateId;
            }
        }
    }
}